package com.lmabbe.core.common.query;

import com.lmabbe.common.global.enums.WhereTypeEnum;
import com.lmabbe.common.global.query.PageQuery;
import com.lmabbe.common.global.query.WhereType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 部门表VO
 *
 * @author lmabbe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "部门表")
public class SysOrgQuery extends PageQuery {

    /**
     * 名称
     */
    @WhereType(type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "名称")
    private String label;

    /**
     * 父ID
     */
    @WhereType(type = WhereTypeEnum.EQ)
    @ApiModelProperty(value = "父ID")
    private Long parentId;


}